package com.ys.entity.eKnowAi;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_eknow].[dbo].EKnow_TimerSet", catalog="Id")
public class EKnowTimerSet extends BaseEntity<EKnowTimerSet> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="TimerKey", nameJava="timerKey", typeDataBase="varchar")
	private String timerKey;
	@YsField(nameDataBase="TimerName", nameJava="timerName", typeDataBase="varchar")
	private String timerName;
	@YsField(nameDataBase="TypeId", nameJava="typeId", typeDataBase="bigint")
	private Long typeId;
	@YsField(nameDataBase="Sort", nameJava="sort", typeDataBase="int")
	private Integer sort;
	@YsField(nameDataBase="BaseId", nameJava="baseId", typeDataBase="bigint")
	private Long baseId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public EKnowTimerSet setId(Long id) {
		this.id = id;
		return this;
	}
	public String getTimerKey() {
		return timerKey;
	}
	public EKnowTimerSet setTimerKey(String timerKey) {
		this.timerKey = timerKey;
		return this;
	}
	public String getTimerName() {
		return timerName;
	}
	public EKnowTimerSet setTimerName(String timerName) {
		this.timerName = timerName;
		return this;
	}
	public Long getTypeId() {
		return typeId;
	}
	public EKnowTimerSet setTypeId(Long typeId) {
		this.typeId = typeId;
		return this;
	}
	public Integer getSort() {
		return sort;
	}
	public EKnowTimerSet setSort(Integer sort) {
		this.sort = sort;
		return this;
	}
	public Long getBaseId() {
		return baseId;
	}
	public EKnowTimerSet setBaseId(Long baseId) {
		this.baseId = baseId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public EKnowTimerSet setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public EKnowTimerSet setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public EKnowTimerSet setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static EKnowTimerSet eKnowTimerSet(
		String timerKey,
		String timerName,
		Long typeId,
		Integer sort,
		Long baseId,
		Integer status
			) {
		EKnowTimerSet entity = new EKnowTimerSet();
		entity.setTimerKey(timerKey);
		entity.setTimerName(timerName);
		entity.setTypeId(typeId);
		entity.setSort(sort);
		entity.setBaseId(baseId);
		entity.setStatus(status);
		return entity;
	}
}